package jNotesGUI;

import java.awt.event.ActionEvent;

import javax.swing.*;

@SuppressWarnings("serial")
public class KeyStrokeListener extends AbstractAction 
{
	private JMenuItem MenuItem;

	public KeyStrokeListener(JMenuItem a) 
	{
	    MenuItem = a;
	}

	public void actionPerformed(ActionEvent e) 
	{
	    MenuItem.doClick();
	}
}
